package com.raylu.realtime.bean;

import lombok.Data;

/**
 * Description:
 * <p>
 * Create by lucienoz on 2021/12/27.
 * Copyright © 2021 lucienoz. All rights reserved.
 */
@Data
public class MaxwellBean {
    public String database;
    public String table;
    public String type;
    public Long ts;
    public String xid;
    public String commit;
    public String data;

    public Long getTs() {
        return ts;
    }

    public void setTs(Long ts) {
        this.ts = ts*1000L;
    }
}
